<!DOCTYPE html>
<%
  session.setAttribute("selectedLink","Consult"); 
%>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="Place your description here">
<meta name="keywords" content="put, your, keyword, here">
<meta name="author" content="Templates.com - website templates provider">
<link rel="stylesheet" href="css/reset.css" type="text/css" media="all">
<link rel="stylesheet" href="css/layout.css" type="text/css" media="all">
<link rel="stylesheet" href="css/style.css" type="text/css" media="all">
<link rel="stylesheet" href="css/buttonCSS.css" type="text/css" media="all">
<link rel="stylesheet" href="css/help.css" type="text/css" media="all">        
<script type="text/javascript" src="js/jquery.pageslide.min.js"></script>
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/cufon-replace.js"></script>
<script type="text/javascript" src="js/maxheight.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.min.js" ></script>
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/cufon-replace.js"></script>
<script type="text/javascript" src="js/Myriad_Pro_400.font.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<link href="DatePicker/kendo.common.min.css" rel="stylesheet">
        <link href="DatePicker/kendo.blueopal.min.css" rel="stylesheet">
        <script src="DatePicker/jquery.min.js"></script>
        <script src="DatePicker/kendo.web.min.js"></script>

<SCRIPT TYPE="text/javascript">
function upgradepicker() {
                var date= new Date();
                date.toString('yyyy-MM-dd');
                $("#DOB").kendoDatePicker({
                    format: "yyyy-MM-dd"
                });
                
}
 

//-->
</SCRIPT>
<!--[if lt IE 7]>
	<link rel="stylesheet" href="css/ie/ie6.css" type="text/css" media="screen">
	<script type="text/javascript" src="js/ie_png.js"></script>
	<script type="text/javascript">
		ie_png.fix('.png, #slogan, header nav ul li a, .icon img, .link1, .link1 span');
	</script>
<![endif]-->
<!--[if lt IE 9]>
	<script type="text/javascript" src="js/html5.js"></script>
<![endif]--></head>
<body id="page5" onLoad="upgradepicker();">
        <a href="javascript:$.pageslide({ direction: 'right', href: 'help/Consult.html' })" class="first">Help</a>
<div class="wrap">
<!-- header -->
	 <%@ include file="headers.jsp" %>
                 <%
        //check if a user has logged in. If not redirect to home page
   String currentUser = (String) session.getAttribute("user");        
        if(currentUser == null){            
            String redirectURL = "index.jsp";
            response.sendRedirect(redirectURL);
        }
        %>
  <div align="center">
<h2> Enter Patient Details To View Patient Record   </h2> </td></tr>    &nbsp; &nbsp;&nbsp;        <br/> <br/>
<div class="box" style="width:500px;background-color: #F0F0F0;">
    <form action="retrieveconsult.jsp" method="post">
        <% String patient_idnumber = "";
        String patientName = "";
        %>
        <table align="center" border='0' style="border: 0;border-color: #FFFFFF">
            <tr style="text-align: left;vertical-align: central">
                <td style="border: 0;border-color: #FFFFFF">
                    <h3>Patient ID Number</h3>
                </td>
                <td style="border: 0;border-color: #FFFFFF">
                    <p>
                        <input name="patient_idnumber" class="textbox" type="text" value="<%=patient_idnumber%>" size="20">
                    </p>
                </td>
            </tr>
           <tr style="text-align: left;vertical-align: central">			
                <td style="border: 0px none;">
                    <h3>Patient Name:(LastName,FirstName)</h3>
                </td>
                <td style="border: 0px none;">
                    <p>
                    <input type="text" class="textbox" name="patientName" value="<%=patientName%>"/>
                    </p>
                </td>
            </tr>
            <tr style="text-align: left;vertical-align: central">
                <td style="border: 0px none;">
                    <h3>Date of Birth:</h3> 
                </td>
                <td style="border: 0px none;">
                    <p>
                       <input type="text" id="DOB" name ="DOB" style="width:165px;height: 19px;padding-top: 1px"/>
                    </p>
                </td>
            </tr>
        </table>		
        <input type="submit" class="blue button" value="Submit" />
        <input type="reset" class="blue button" value="Reset"  />       
        
    </form>
    </div>
        </section>
	</p>
	</div>
	<br>
        <br>
	 <%@ include file="footers.jsp" %>

</tr>
<script type="text/javascript">Cufon.now();</script>
<script src="js/jquery.pageslide.min.js"></script>
</body>
</html>
